package com.jia.train.seat.service;

import com.jia.train.global.page.PageResponse;
import com.jia.train.seat.entity.DailyTrainSeat;
import com.jia.train.seat.request.DailyTrainSeatQueryRequest;
import com.jia.train.seat.response.DailyTrainSeatQueryResponse;

import java.util.Date;
import java.util.List;

public interface DailyTrainSeatService {

    PageResponse<DailyTrainSeatQueryResponse> selectPage(DailyTrainSeatQueryRequest request);

    void deleteDailyTrainSeat(Long id);

    void genDailyTrainSeat(Date date, String code);

    List<DailyTrainSeat> selectByCarriage(Date date, String code, Integer index);

}
